/*
 *
 */
package org.jiscinvolve.astrodabis.barberry.common.core.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

import org.jiscinvolve.astrodabis.barberry.common.core.Identifier;

/*
 *
 */
@ResponseStatus(value = HttpStatus.NOT_FOUND)
public class IdentFormatException
extends RuntimeException
    {

    public IdentFormatException()
        {
        this(
            null,
            null
            );
        }

    public IdentFormatException(Exception cause)
        {
        this(
            cause,
            null
            );
        }

    public IdentFormatException(Exception cause, Identifier ident)
        {
        super(
            cause
            );
        this.ident = ident ;
        }

    private Identifier ident;

    public Identifier ident()
        {
        return this.ident;
        }

    }

